package com.luocj.elephant.demo;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;

import com.luocj.elephant.demo.activity.LineChartActivity;
import com.luocj.elephant.demo.activity.views.HorViewActivity;
import com.luocj.elephant.demo.activity.MyViewActivity;
import com.luocj.elephant.demo.activity.ProgressView;
import com.luocj.elephant.demo.activity.RingViewActivity;
import com.luocj.elephant.demo.activity.StatusCodeViewActivity;
import com.luocj.elephant.demo.view.CreditSesameRingViewActivity;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
//        initView();
    }


    public void ringView(View view) {
        startActivity(new Intent(MainActivity.this, RingViewActivity.class));
    }

    public void doview(View view) {
        startActivity(new Intent(MainActivity.this, CreditSesameRingViewActivity.class));
    }

    public void doLinechartView(View view) {
        startActivity(new Intent(MainActivity.this, LineChartActivity.class));
    }

    public void doMyView(View view) {
        startActivity(new Intent(MainActivity.this, MyViewActivity.class));
    }

    public void doStatusCodeView(View view) {

        startActivity(new Intent(MainActivity.this, StatusCodeViewActivity.class));
    }

    public void doProgressView(View view) {
        startActivity(new Intent(MainActivity.this, ProgressView.class));
    }

//    public void doIndicator(View view) {
//        startActivity(new Intent(MainActivity.this, IndicatorActivity.class));
//    }

    public void doHor(View view) {
        startActivity(new Intent(MainActivity.this, HorViewActivity.class));
    }
}
